package com.qq.common;

public enum WSErrorCode {

    OP_SUCCESS(0,"操作成功"),
    OP_FAILURE(-1,"操作失败"),
    SYS_ERROR(-999,"系统异常"),
    US_PASSWORD(1, "密码错误"),
    US_USERNULL(2, "账号不存在"),
    US_LOCK(3, "账号被冻结"),
    SYS_JSONPARSE_ERROR(4, "json 解析错误");

    WSErrorCode(int code, String message){
        this.code = code;
        this.message = message;
    }

    private int code;
    private String message;
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}
